package com.shum1n.gmall.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.shum1n.gmall.bean.UserAddress;
import com.shum1n.gmall.service.UserService;
import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.List;


public class UserServiceImpl implements UserService {


    @Override
    public List<UserAddress> getUserAddressList(String userId){

        UserAddress userAddress1 = new UserAddress("福建","1");
        UserAddress userAddress2 = new UserAddress("广东","1");
        return  Arrays.asList(userAddress1,userAddress2);
    }

}
